From 485c1704d4f531d06e6d26c1f9153b7fcd2fc65b Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Villemot?= Date: Sun, 14 Sep 2025 11:34:16 +0200 Subject: [PATCH] Remove warning about OpenMP Forwarded: no Last-Update: 2014-02-17 This warning is annoying when the library is built with pthreads. See #684344 Last-Update: 2014-02-17 Gbp-Pq: Name remove-openmp-warning.patch --- driver/others/blas_server.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/driver/others/blas_server.c b/driver/others/blas_server.c index 4b79136..17fa4c9 100644 --- a/driver/others/blas_server.c +++ b/driver/others/blas_server.c @@ -813,16 +813,6 @@ if (openblas_threads_callback_) { } -#ifdef __ELF__ - if (omp_in_parallel && (num > 1)) { - if (omp_in_parallel() > 0) { - fprintf(stderr, - "OpenBLAS Warning : Detect OpenMP Loop and this application may hang. " - "Please rebuild the library with USE_OPENMP=1 option.\n"); - } - } -#endif - if ((num > 1) && queue -> next) exec_blas_async(1, queue -> next); #ifdef TIMING_DEBUG -- 2.30.2